import http from "./request"


/**
 *
 * @description 获取门店评价
 * @returns
*/
export let GetShopReviewList = (params) => {
    return http.get("ERPApi/Wx/GetShopReviewList", { params });
};

/**
 * @description 获取商品评价
 */
export let GetProductReviewList = (params) => {
    return http.get("ERPApi/Wx/GetProductReviewList", { params });
};

/**
 * @description 评价
 */
export let GetReview = (params) => {
    return http.post("ERPApi/Wx/Review", params);
};

/**
 * @description 上传文件
 */
 export let GetUpload = (type,data) => {
    return http.post("ERPApi/Wx/Upload?type=" + type, data);
};